/**
 * Copyright ©2003~2019年1月27日 szkingdom
 * @author raohj
 * @date 2019年1月27日
 * @file RArticle.java
 * @comment : please input your comment to this file
 * @version : input version
 * @modify:
 * 		1、 2019年1月27日 由 raohj 新建文件
 */
package com.ccnu.demojava.nosql.redis;

/**
 * @author raohj
 * @date 2019年1月27日
 * @version 
 * @comment to add your comment
 */
public class RArticle{
	private String id;
	private String title;
	private String link;
	private String poster;
	private long time;
	private int votes;
	

	public RArticle() {
		super();
	}
	
	/**
	 * @param title
	 * @param link
	 * @param poster
	 * @param time
	 * @param votes
	 */
	public RArticle(String id, String title, String link, String poster, long time, int votes) {
		super();
		this.id = id;
		this.title = title;
		this.link = link;
		this.poster = poster;
		this.time = time;
		this.votes = votes;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getPoster() {
		return poster;
	}
	public void setPoster(String poster) {
		this.poster = poster;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public int getVotes() {
		return votes;
	}
	public void setVotes(int votes) {
		this.votes = votes;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
}